package com.oa.ylms.apps.entity.file;

import java.io.Serializable;
import java.util.Date;

import com.oa.ylms.apps.common.DateUtil;

@SuppressWarnings("serial")
public class FileInfoValue implements Serializable {

	// Fields

	private Integer fileId;
	private String title;
	private FileCategoryValue fileCategory;
	private String fileUrl;
	private Date  createTime;
	@SuppressWarnings("unused")
	private String strCreateTime;
	private Integer states;
	
	// Property accessors
	
	public Integer getFileId() {
		return fileId;
	}
	public void setFileId(Integer fileId) {
		this.fileId = fileId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}

	public FileCategoryValue getFileCategory() {
		return fileCategory;
	}
	public void setFileCategory(FileCategoryValue fileCategory) {
		this.fileCategory = fileCategory;
	}
	public String getFileUrl() {
		return fileUrl;
	}
	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Integer getStates() {
		return states;
	}
	public void setStates(Integer states) {
		this.states = states;
	}
	public void setStrCreateTime(String strCreateTime) {
		this.strCreateTime = strCreateTime;
	}
	public String getStrCreateTime() {
		return DateUtil.toStringWithoutHours(createTime);
	}
		

}
